public class Context {

  private Strategy strategy;

  public Context(Strategy strategy) {
    this.strategy = strategy;
  }

  public String doSomething() {
    return strategy.doSomeThing();
  }
}
